package samples.bankleitzahlen;

import br.cin.ufpe.in1118.middleware.distribution.services.GenericStub;
import br.cin.ufpe.in1118.middleware.distribution.services.ObjectReference;
import br.cin.ufpe.in1118.middleware.exceptions.RemoteException;

public class Bankleitzahlen_Stub extends GenericStub implements Bankleitzahlen {

	public Bankleitzahlen_Stub(ObjectReference objectReference) {
		super(objectReference);
	}

	@Override
	public Bank getBank(String blzCode) throws RemoteException {
		return (Bank) super.execute("getBank", blzCode);
	}

}
